def happy_birthday(name, age):
    print('祝{0}生日快乐'.format(name))
    print(str(age) + '岁生日快乐')


# happy_birthday('duiduo') # TypeError: happy_birthday() missing 1 required positional argument: 'age'
# happy_birthday(18, 'duiduo')  # 程序不报错 但是语意不正确

# 正确的传递方式
happy_birthday('duiduo', 18)